package com.biglead.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.biglead.admin.param.AdminProductCategoryParam;
import com.biglead.admin.pojo.PmsProductCategory;
import com.biglead.admin.pojo.PmsProductCategoryWithChildrenItem;

import java.util.List;

public interface PmsProductCategoryService {
    boolean create(AdminProductCategoryParam productCategoryParam);

    boolean update(Long id, AdminProductCategoryParam productCategoryParam);

    Page<PmsProductCategory> getList(Long parentId, Integer pageSize, Integer pageNum);

    PmsProductCategory getItem(Long id);

    boolean delete(Long id);

    boolean updateNavStatus(List<Long> ids, Integer navStatus);

    boolean updateShowStatus(List<Long> ids, Integer showStatus);

    List<PmsProductCategoryWithChildrenItem> listWithChildren();


}
